Move to creative-softworks org + scoped alias package - #12
Merged
Conversation
- point every repo URL (package.json, CHANGELOG, CONTRIBUTING, issue template) at github.com/creative-softworks/sql-switch after the transfer - add scoped/ => @creative-softworks/sql-switch, a re-export alias that forwards the unscoped sql-switch package (named exports + default) so both names are the same API from one source. no build step, three tiny files. - publish.yml now ships both packages (unscoped real code, then the scoped alias) via NPM_TOKEN, and guards that root + scoped versions and the alias pin all match the tag before anything publishes - version left at the 0.0.0 placeholder, bumped at release time
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Repo is now under the org. This wires up the naming decision (unscoped real package + scoped re-export) and repoints URLs.
github.com/creative-softworks/sql-switch(package.json, CHANGELOG, CONTRIBUTING, issue template).scoped/package:@creative-softworks/sql-switchre-exportssql-switch(named exports +default createDAL) with no build step — one source of truth, one place bugs get fixed.publish.ymlpublishes both packages on a tag: the unscoped real code first, then the scoped alias, authenticated withNPM_TOKEN. A guard fails the tag build unless root version, scoped version, and the alias'ssql-switchpin all equal the tag.0.0.0placeholder (root + scoped + pin), bumped together at release.Follow-ups (not in this PR)
NPM_TOKENrepo/org secret (the token itself isn't in GitHub secrets yet — onlyDATABASE_URLis).🤖 Generated with Claude Code